package stockticker.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import org.hibernate.annotations.Entity;

@Entity
@Table (name="app_parms")
@Inheritance (strategy=InheritanceType.SINGLE_TABLE)
public class AppParms implements Serializable {
	private String parmCode;
	private String parmValue;
	
	@Id
	@Column (name="PARM_CODE", unique=true, length=20, nullable=false, insertable=false, updatable=false)
	public String getParmCode() {
		return parmCode;
	}
	public void setParmCode(String parmCode) {
		this.parmCode = parmCode;
	}
	
	@Column (name="PARM_VALUE", unique=false, length=150, nullable=false, insertable=false, updatable=false)
	public String getParmValue() {
		return parmValue;
	}
	public void setParmValue(String parmValue) {
		this.parmValue = parmValue;
	}
}
